<%-- 
    Document   : addcar
    Created on : 29.11.2012, 17:41:24
    Author     : Ondra
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
         <link href="${pageContext.request.contextPath}/styly.css" type="text/css" rel="stylesheet"/>
        <title>JSP Page</title>
    </head>
    <body>
        <div class="wrapper">
            <div class="header"><h1><spring:message code="car.header.add"/></h1></div>
            <div class="navig">
                <%@ include file="../navig.jsp" %>
            </div>  
            <div class="content">

                <table class="form">
                    <form:form action="save" method="post" modelAttribute="carDTO">
                        <%@include file="form.jsp" %>
                        <tr>
                            <td>
                                <input type="submit" value="<spring:message code="car.add"/>" />
                            </td>    
                        </tr>
                    </form:form>
                </table>
            </div>
        </div>
    </body>
</html>
